﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.Models.Admin
{
    public class UserInRoleModel
    {
        public string Email { get; set; }
        public string FullName { get; set; }
        public int UserInRoleID { get; set; }
        public int UserID { get; set; }
        public int RoleID { get; set; }
        public int IsActive { get; set; }
        public string DateCreated { get; set; }
        public string DateModified { get; set; }
        public string Descriptions { get; set; }
        public string UserName { get; set; }
        public string RoleName { get; set; }
        public string UserCode { get; set; }
        public int RecordCount { get; set; }
        public int AppId { get; set; }
        public const string FIELD_RECORD_COUNT = "RecordCount";

        #region Field list in database
        public const string EMAIL = "Email";
        public const string FIELD_FULL_NAME = "FullName";
        public const string FIELD_USER_IN_ROLE_ID = "UserInRoleID";
        public const string FIELD_USER_ID = "UserID";
        public const string FIELD_ROLE_ID = "RoleID";
        public const string FIELD_DATE_CREATED = "DateCreated";
        public const string FIELD_DATE_MODIFIED = "DateModified";
        public const string FIELD_IS_ACTIVE = "IsActive";
        public const string FIELD_DESCRIPTION = "Descriptions";
        public const string FIELD_ROLE_NAME = "RoleName";
        public const string FIELD_USER_NAME = "UserName";
        public const string FIELD_USER_CODE = "UserCode";
        public const string FIELD_APP_ID = "AppId";
        #endregion
    }
}
